//
//  UIViewController+FQDStatusBar.h
//  FakeQDaily
//
//  Created by mewxiv on 8/20/16.
//  Copyright © 2016 Xensius. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, FQDStatusBarStyle)
{
    FQDStatusBarStyleDarkTranslucent   = UIStatusBarStyleDefault,           // Dark content, translucent background
    FQDStatusBarStyleLightTranslucent  = UIStatusBarStyleLightContent,      // Light content, translucent background
    FQDStatusBarStyleDarkOpaque,                                            // Dark content, opaque background
    FQDStatusBarStyleLightOpaque,                                           // Light content, opaque background
};

@interface UIViewController (FQDStatusBar)

// 记录当前ViewController的状态栏样式
@property (nonatomic, assign) FQDStatusBarStyle fqd_statusBarStyle;

// 状态栏背景层，用于遮挡内容，优化阅读体验
@property (nonatomic, readonly, strong) UIView *fqd_statusBarView;

@end
